package cc.customer.onschool.services;

import cc.customer.common.domain.ResponseBo;
import cc.customer.common.service.IService;
import cc.customer.onschool.domain.OnSchoolResource;
import cc.customer.system.domain.Collage;
import cc.customer.system.domain.MyUser;
import jdk.nashorn.internal.ir.ObjectNode;

import java.util.List;

public interface OnSchoolService extends IService<OnSchoolResource> {


    int batchInsertByCode(List<OnSchoolResource> list);

    List<OnSchoolResource> selectByResource(OnSchoolResource resource,MyUser user);

    List<OnSchoolResource> exportOnschoolInfo(String keyids,MyUser user);

   ResponseBo batchUpdateBykeyId(OnSchoolResource resource,String ids,String names,String userid);

   /**查询客户的详情**/
   ResponseBo findCustomerDetailByid(String id, MyUser user);
    /** App查询客户的详情**/
    ResponseBo AppFindCustomerDetailByid(String id, MyUser user);

   /**查询客户详情的标签**/
   ResponseBo selectOnshoolLabel(String osid);

   ResponseBo updateOnshoolEmpInfoByBpId(OnSchoolResource resource,MyUser user);
   /**删除网校用户存在的**/
   int deleteSchoolResource();

   /**查询所有的 网络资源的客户**/
   List<String> selectSchoolPhone();

   /**获取某个时间段 个人的人员的网校资源**/
   List<OnSchoolResource> selectOnResByTimeAndUser(String statime,String endtime,String userid);

}
